<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<?php echo $cabecalho; ?>
<?php echo $menu_esq; ?>
<div id="mainContent">
<h1>Deletar Alunos</h1>
<h3>Deseja realmente deletar estes alunos?</h3>
<?php echo form::open("sa/aluno/salvar"); ?>
<table width="100%" border="1">
      <tr>
        <td>nome</td>
        <td>valor</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <?php foreach($alunos as $aluno){?>
      <?php echo form::hidden('id[]', $aluno->id)?>
	  <tr>
        <td>matricula</td>
        <td><?php echo $aluno->matricula; ?></td>
      </tr>
      <tr>
        <td>nome</td>
        <td><?php echo $aluno->nome; ?></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <?php }?>
      <tr>
        <td><?php echo form::submit('enviar', 'Deletar')?>&nbsp;</td>
        <td><?php echo html::anchor('sa/aluno/listar/', 'Voltar'); ?>&nbsp;</td>
      </tr>
    </table>
<?php echo form::hidden('acao', 'deletar'); ?>
<?php echo form::close(); ?>
<!-- end #mainContent --></div>
<?php echo $rodape; ?>